package com.nbcio.demo.domain.vo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.nbcio.demo.domain.TestOrderMain;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.nbcio.common.excel.annotation.ExcelDictFormat;
import com.nbcio.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 订单主表视图对象 test_order_main
 *
 * @author nbacheng
 * @date 2025-04-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TestOrderMain.class)
public class TestOrderMainVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

            /**
             * 主键
             */
            @ExcelProperty(value = "主键" )
        private Long id;

            /**
             * 订单编码
             */
            @ExcelProperty(value = "订单编码" )
        private String orderCode;

            /**
             * 客户编号
             */
            @ExcelProperty(value = "客户编号" , converter = ExcelDictConvert.class)
            @ExcelDictFormat(dictType = "test_customer" )
        private Long customerId;

            /**
             * 下单时间
             */
            @ExcelProperty(value = "下单时间" )
        private Date xdDate;

            /**
             * 订单总额
             */
            @ExcelProperty(value = "订单总额" )
        private BigDecimal money;

            /**
             * 备注
             */
            @ExcelProperty(value = "备注" )
        private String remark;


}
